﻿using Serilog;

namespace AME.Logger;

public static class LoggerClient
{
    public static void CreateSerilogClient()
    {
        Log.Logger = new LoggerConfiguration()
        .MinimumLevel.Debug()
        .WriteTo.Console()
        .WriteTo.File($"./logs/{DateTime.Now:d}.txt", rollingInterval: RollingInterval.Day)
        .CreateLogger();
    }
}
